有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java Elastic APM Tomcat zip文件或JAR清单丢失

我正在尝试使用Elastic APM为基于tomcat的java webapp添加工具。Tomcat在没有javaagent的情况下可以正常启动,但拒绝从它开始。我在/var/log/tomcat中没有看到任何日志。以下是日志:

Redirecting to /bin/systemctl status  -l tomcat.service
● tomcat.service - Apache Tomcat Web Application Container
   Loaded: loaded (/usr/lib/systemd/system/tomcat.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2020-04-17 01:45:36 UTC; 1s ago
  Process: 25660 ExecStart=/usr/libexec/tomcat/server start (code=exited, status=1/FAILURE)
 Main PID: 25660 (code=exited, status=1/FAILURE)

arguments used: start
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Error opening zip file or JAR manifest missing : /opt/elastic/elastic-apm-agent-1.15.0.jar
Error occurred during initialization of VM
agent library failed to init: instrument
tomcat.service: main process exited, code=exited, status=1/FAILURE
Unit tomcat.service entered failed state.
tomcat.service failed.

以前有人遇到过这种情况吗?我能做些什么来修复它吗


共 (0) 个答案